home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 3 / Cream of the Crop 3.iso / clipper / ks94an.zip / HTOI.HDR < prev    next >
Text File  |  1994-04-25  |  682b  |  32 lines

  1. /******************************************************************************
  2.                  The Klipper Library, for CA-Clipper 5.x
  3.         Copyright (c), 1994, Wallace Information Systems Engineering
  4.  
  5. FUNCTION:
  6.  
  7. _HToI( cVar ) --> nIntege
  8.  
  9. PARAMETERS:
  10.  
  11. cVar : Hexadecimal Value (character string)
  12.  
  13. SHORT:
  14.  
  15. Convert hexadecimal to decimal integer.
  16.  
  17. DESCRIPTION:
  18.  
  19. _HToI() converts a Hexadecimal string to its Base 10 numeric equivalent.
  20.  
  21. NOTE:
  22.  
  23.  
  24.  
  25. EXAMPLE:
  26.  
  27. ? _htoi('F')  // returns 15
  28. ? _htoi('FF') // returns 255
  29. ? _HToI('5')  // returns 5 (because 5 = 5 in base 10)
  30.  
  31. ******************************************************************************/
  32.